package com.xianrenit.xianrenpuzi.order;

import com.xianrenit.xianrenpuzi.cart.anno.EnableCartClientConfig;
import com.xianrenit.xianrenpuzi.common.handler.interceptor.EnableSpzxServiceAuth;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableSpzxServiceAuth
@EnableTransactionManagement
@EnableFeignClients(basePackages = "com.xianrenit.xianrenpuzi")
@EnableCartClientConfig
@MapperScan(basePackages = "com.xianrenit.xianrenpuzi.order.mapper")
public class SpzxOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpzxOrderApplication.class , args);
    }

}
